/* pages/msg/index.wxss */
.title-box {
	font-size: 40rpx;
	font-weight: bold;
	color: #303030FF;
	padding: 32rpx;
	background-color: #F8F8F8FF;

	.num {
		font-size: 28rpx;
	}
}

.msg-list {
	background-color: white;
	margin-top: 48rpx;
	padding: 0 32rpx 48rpx;
	position: relative;

	&::after,
	&::before {
		content: '';
		position: absolute;
		top: -48rpx;
		left: 0;
		width: 100vw;
		height: 48rpx;
		background-color: #F8F8F8FF;
	}

	&::after {
		z-index: -1;
	}

	&::before {
		background-color: white;
		border-radius: 32rpx 32rpx 0 0;
	}

	.li {
		display: flex;
		align-items: center;
		padding-bottom: 20rpx;
		border-bottom: 2rpx solid #F1F1F1FF;
		margin-bottom: 24rpx;

		&:last-child {
			padding-bottom: 0;
			margin-bottom: 0;
			border-bottom: 0;
		}

		.right-box {
			margin-left: 24rpx;
			flex: 1;
			height: 80rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			.top-box,
			.bottom-box {
				display: flex;
				align-items: center;
				justify-content: space-between;
			}

			.top-box {
				font-size: 20rpx;
				color: #B9B9B9FF;

				.title {
					width: 280rpx;
					font-size: 28rpx;
					color: #303030FF;
				}
			}

			.bottom-box {
				font-size: 24rpx;
				color: #B9B9B9FF;

				.msg {
					width: 498rpx;
				}

				.num {
					// transform: scale(4);
					font-size: 20rpx;
					color: white;
					line-height: 30rpx;
					padding: 0 8rpx;
					border-radius: 16rpx;
					background-color: #E24546FF;
				}
			}
		}
	}
}

.text-line {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}